//
//  YFMapSearchView.h
//  project
//
//  Created by yefei on 2019/4/30.
//  Copyright © 2019 健健. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AMapSearchKit/AMapSearchKit.h>
#import "YFMapSearchModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface YFMapSearchView : UIView

@property (nonatomic, copy) void(^locatingSuccessed)(NSString *poiName);

@property (nonatomic, copy) void(^completedAction)(YFMapSearchModel *model);

@property (class, nonatomic, strong, readonly) YFMapSearchView *shared;

@property (nonatomic, strong) AMapPOI *poi;

- (void)onceLocating;

@end


NS_ASSUME_NONNULL_END
